#include <stdio.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <unistd.h>
#include <sys/wait.h>
#include <sys/stat.h>
#include <fcntl.h>

const char *HostName()
{
    char *hostname = getenv("HOSTNAME");
    if (hostname)
        return hostname;
    else
        return "None";
}
const char *UserName()
{
    char *name = getenv("USER");
    if (name)
        return name;
    else
        return "None";
}
int main()
{
    printf("%s\n", HostName());
    printf("%s\n", UserName());
    return 0;
}